package com.mybatis;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author cyt
 * @create 2020-03-13 14:02
 */
@SpringBootApplication
@EnableEurekaClient // 开启Eureka的客户端， 在服务启动后自动注册的Eureka中
@EnableDiscoveryClient // 服务发现

public class Application_provider02 {
    public static void main(String[] args) {
        SpringApplication.run(Application_provider02.class, args);
    }
}
